from tortoise import models, fields

class Menus(models.Model):
    menuid = fields.CharField(max_length=36, null=False, description="菜单id", pk=True)
    parentMenuid = fields.CharField(max_length=36, null=True, description="父菜单id")
    title = fields.CharField(max_length=36, null=False, description="标题")
    routerURL = fields.CharField(max_length=100, null=False, description="路由地址")
    icon = fields.CharField(max_length=36, null=False, description="图标")